import { onMounted, reactive } from 'vue';
import { WindUser } from '@/global';
import { getWindUserList } from '@/config/api_config/apis';
import { commonTableListReactive } from '@/pages/MainMenu/common_reactive';

export const windUserOperate = () => {
  const dataList = reactive<WindUser[]>([]);
  const params = reactive({});
  const windUserReactive = commonTableListReactive({
    dataList, apiMethod: getWindUserList, params
  });
  return {
    dataList, ...windUserReactive
  };
};
